home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / demos / cpitdemo / cpit_dyn.c < prev    next >
C/C++ Source or Header  |  1997-05-08  |  986b  |  42 lines

  1. #ifndef lint
  2. static char SccsId[]= "@(#)cpit_dyn.c    V1.4    3/15/95";
  3. #endif
  4.  
  5. /*------------------------------------------------------------------
  6. | file name -- cpit_dyn.c
  7. |
  8. | functions             Description
  9. | ---------             -----------
  10. | HandleDynamics    Updates the data and the display
  11. |
  12. |-----------------------------------------------------------------*/
  13.  
  14. #include "std.h"
  15. #include "dvstd.h"
  16. #include "dvtools.h"
  17. #include "VOstd.h"
  18. #include "Tfundecl.h"
  19. #include "cpit_vars.h"
  20. #include "cpit_fundecl.h"
  21.  
  22.  
  23.  
  24. /*-----------------------------------------------------------------
  25. |
  26. |  HandleDynamics
  27. |       Performs the functions needed to update the display to
  28. |       reflect the latest data.
  29. */
  30. void HandleDynamics 
  31. V_P_ ((void))
  32. {
  33.  
  34.   /* Update the Data */
  35.   (VOID) TviReadData (ActiveView);
  36.  
  37.   /* Update the dynamic objects in the MAIN WINDOW */
  38.   (VOID) TscSetCurrentScreen (MainScreen);
  39.   (VOID) TdpDrawNext (ActiveDrawport);
  40.  
  41. }
  42.